package com.xinzhuoyue.erp.service;

import com.xinzhuoyue.erp.dao.UserDao;
import com.xinzhuoyue.erp.model.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserService {
	@Resource
	private UserDao userDao;

	public User UserLogin(int id) {

		return this.userDao.findUserByCond(id);
	}
}
